package com.vehicle.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.vehicle.bean.PageVo;
import lombok.Data;

import java.util.Date;

/**
 * 事故记录
 */
@Data
public class AccidentRecord extends PageVo {
    private Integer accidentid;//事故记录id
    private Car cars;//外键 关联车辆表
    private Driver drivers;//驾驶员id 关联车辆表
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date accidenttime;//事故发生时间
    private String accidentsite;//事故地点
    private String accidentexplain;//事故说明
    private String our_responsibilities;//我方车损坏情况
    private String others_responsibilities;//对方车辆损坏情况
    private String accident_result;//事故结果
    private Double our_undertakemoney;//我们承担的金额
    private Double ohters_undertakemoney;//对方承担的金额
    private Double insurance_undertakemoney;//保险承担的金额
    private String remark;//备注
}
